<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>Document</title>
    <link rel="stylesheet" href="../../css/api.css">
    <link rel="stylesheet" href="../../css/news.css">
    <link rel="stylesheet" href="../../css/login.css">
    <style>
        html,
        body {
            background-color: #F46CEF;
        }

        .wrap {
            padding-top: 65vw;
        }

        .login-bg {
            background-size: 100%;
            background-color: #F46CEF;
        }

        .new-btn {
            background: #fff;
            color: #F46CEF;
            font-size: 16px;
            font-weight: bold;
            line-height: 45px;
            width: calc(100% - 40px);
            margin: 15px 20px;
        }

        .reg-btn {
            color: #fff;
            background: rgba(255, 255, 255, 0.5);
        }

        .line-wrap .tip {
            padding: 0 5px;
        }

        .line {
            width: 15px;
            height: 1px;
            background: #fff;
        }

        .line-wrap .tip,
        .xieyi,
        .xieyi a {
            color: #fff;
        }

        .login-img img {
            padding: 5px;
            background: #7b56ff;
            border-radius: 50%;
            width: 25px;
            margin: 15px;
        }
    </style>
</head>

<body>
    <div class="login-bg" id="view" v-cloak>
        <div class="wrap">
            <button class="new-btn login-btn" tapmode onclick="_url({url:'user/login', title:'登录'})">{{_i18n('登录')}}</button>
            <button class="new-btn reg-btn" tapmode onclick="_url({url:'user/reg', title:'注册'})">{{_i18n('注册')}}</button>
            <div class="other-login">
                <div class="xieyi flex-c">
                    <p>
                        {{_i18n('我已阅读')}}<a href="javascript:;" onclick="openPage(2)">《{{_i18n('用户协议')}}》</a>和<a href="javascript:;"
                            onclick="openPage(3)">《{{_i18n('用户隐私政策')}}》</a>
                    </p>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="../../script/api.js"></script>
<script src="../../script/jquery.js"></script>
<script src="../../script/ffkj.js"></script>
<script src="../../script/login.js"></script>
<script src="../../script/vue.js"></script>
<script src="../../script/update.js"></script>
<script>
    var view = new Vue({
        el: '#view',
        data: {
            ios: 1, // 1上架 0非上架
        }
    })
    apiready = function () {
        view.ios = $api.getStorage('shang');
        keyback()
        $api.fixStatusBar($api.dom('.bg'));
        _heibai(1);
        $api.rmStorage('userid');
        $api.rmStorage('sex');
    }
</script>

</html>